export function getToken() {
  return localStorage.token
}

export function setToken(token) {
  return localStorage.token = token
}

export function removeToken() {
  return localStorage.removeItem('token')
}
export function removeUserName() {
  return localStorage.removeItem('username')
}

export function setUserName(username) {
  return localStorage.username=username
}
export function getUserName() {
  return localStorage.username
}

export function setCurrUser(currUser) {
  return localStorage.currUser=currUser
}

export function getCurrUser() {
  return localStorage.currUser
}
